<?php 
/*
 module:		MBTI题目选项验证器
 create_time:	2024-04-18 16:37:17
 author:		
 contact:		
*/

namespace app\admin\validate\Mbti;
use think\validate;

class Option extends validate {


	protected $rule = [
		'fraction'=>['regex'=>'/^[0-9]*$/'],
	];

	protected $message = [
		'fraction.regex'=>'增加的分数格式错误',
	];

	protected $scene  = [
		'add'=>['fraction'],
		'edit'=>['fraction'],
	];



}

